

#import "FAMStaticTool.h"

@implementation FAMStaticTool
+ (id)FAM_getUserDefaultsValue:(NSString *)key{
    NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
    return [ud valueForKey:key];
}
+ (void)FAM_setUserDefaultsValue:(id)value key:(NSString *)key{
    NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
    [ud setObject:value forKey:key];
    [ud synchronize];
}
@end
